package com.goldgov.conference.service;

import com.goldgov.kcloud.core.service.Query;
import com.goldgov.utils.DataUtil;
import com.goldgov.utils.PropertyUtil;

/** 
 * @ClassName: ConferenceStatQuery 
 * @Description: TODO
 * @author hanxiangyu
 * @date 2018年6月25日 下午1:56:20 
 */
public class ConferenceStatQuery extends Query<ConferenceStat> {
	 /**
	  * 1支部党员大会
	  */
	public static final Integer ZBDYDH = 1;
	/**
	 * 4支部委员会
	 */
	public static final Integer ZBWYHHY = 4; 
	/**
	 * 3党小组会
	 */
	public static final Integer DXZH = 3; 
	/**
	 * 2党课
	 */
	public static final Integer DK = 2; 
	/**
	 * 5远程教育
	 */
	public static final Integer YCJY = 5; 
	
	public static final Integer REACH_NUM_ZBDYDH = 1; //支部党员大会达标数
	public static final Integer REACH_NUM_ZBWYHHY = 1; //支部委员会会议达标数
	public static final Integer REACH_NUM_DXZH = 1; //党小组会达标数
	public static final Integer REACH_NUM_DK = 1; //党课达标数
	public static final Integer REACH_NUM_BY_QUARTER = 1; //按季度达标
	public static final Integer REACH_NUM_BY_MONTH = 2; //按月达标
	
	private String searchBeginDate;	//开始时间
	private String searchEndDate;		//结束时间
	private String searchUserID;//用户id
	private String searchPartyBranch;//所在党支部
	private String searchScopeCode;  //当前登录人code
	private String searchYear;//当前年
	private Integer searchQuarter;//当前季度
	private String searchType;		//类别
	private String queryScopeCode;//模糊查询
	private boolean searchChilderOrg;//是否关联子机构 1 true 是
	private String[] searchBranchCode;//存在人员支部编码
	private Integer isUserAdmin;//是否是管理员 1是 2不是
	private String searchMettingName;//会议名称
	private String searchOrganizationID;//组织id
	private String[] searchOrganizationNames;//组织名称
	private String searchOrganizationName;//组织名称
	
	private String searchTreePath;
	private Integer searchMonth;//当前月
	private Integer searchOrganizationType;//机构类别  1市 2工委  3县 
	private Integer serarchNextNum;//下级机构数量
	private Integer searchReachConferenceNum;//要求会议数量
	
	private Integer searchQuarterValidNum;//按季度一段时间内需要完成的会议数量
	private Integer searchMonthValidNum;//按月份一段时间内需要完成的会议数量
	
	private Integer searchOrderType;//排序字段 1按组织 2按完成度
	public String[] getSearchOrganizationNames() {
		return searchOrganizationNames;
	}
	public void setSearchOrganizationNames(String[] searchOrganizationNames) {
		this.searchOrganizationNames = searchOrganizationNames;
	}
	public String getSearchOrganizationName() {
		return searchOrganizationName;
	}
	public void setSearchOrganizationName(String searchOrganizationName) {
		this.searchOrganizationName = searchOrganizationName;
	}
	public String getSearchMettingName() {
		return searchMettingName;
	}
	public void setSearchMettingName(String searchMettingName) {
		this.searchMettingName = searchMettingName;
	}
	public String getSearchBeginDate() {
		return searchBeginDate;
	}
	public void setSearchBeginDate(String searchBeginDate) {
		this.searchBeginDate = searchBeginDate;
	}
	public String getSearchEndDate() {
		return searchEndDate;
	}
	public void setSearchEndDate(String searchEndDate) {
		this.searchEndDate = searchEndDate;
	}
	public String getSearchUserID() {
		return searchUserID;
	}
	public void setSearchUserID(String searchUserID) {
		this.searchUserID = searchUserID;
	}
	public String getSearchPartyBranch() {
		return searchPartyBranch;
	}
	public void setSearchPartyBranch(String searchPartyBranch) {
		this.searchPartyBranch = searchPartyBranch;
	}
	public String getSearchScopeCode() {
		return searchScopeCode;
	}
	public void setSearchScopeCode(String searchScopeCode) {
		this.searchScopeCode = searchScopeCode;
	}
	public String getSearchYear() {
		return searchYear;
	}
	public void setSearchYear(String searchYear) {
		this.searchYear = searchYear;
	}
	public Integer getSearchQuarter() {
		return searchQuarter;
	}
	public void setSearchQuarter(Integer searchQuarter) {
		this.searchQuarter = searchQuarter;
	}
	public String getSearchType() {
		return searchType;
	}
	public void setSearchType(String searchType) {
		this.searchType = searchType;
	}
	public String getQueryScopeCode() {
		return queryScopeCode;
	}
	public void setQueryScopeCode(String queryScopeCode) {
		this.queryScopeCode = queryScopeCode;
	}
	public boolean isSearchChilderOrg() {
		return searchChilderOrg;
	}
	public void setSearchChilderOrg(boolean searchChilderOrg) {
		this.searchChilderOrg = searchChilderOrg;
	}
	public String[] getSearchBranchCode() {
		if (!PropertyUtil.objectNotEmpty(this.searchBranchCode)) {
			searchBranchCode = DataUtil.BRANCH_CODING;
		}
		return searchBranchCode;
	}
	public void setSearchBranchCode(String[] searchBranchCode) {
		if (!PropertyUtil.objectNotEmpty(searchBranchCode)) {
			searchBranchCode = DataUtil.BRANCH_CODING;
		}
		this.searchBranchCode = searchBranchCode;
	}
	public Integer getIsUserAdmin() {
		return isUserAdmin;
	}
	public void setIsUserAdmin(Integer isUserAdmin) {
		this.isUserAdmin = isUserAdmin;
	}
	public String getSearchOrganizationID() {
		return searchOrganizationID;
	}
	public void setSearchOrganizationID(String searchOrganizationID) {
		this.searchOrganizationID = searchOrganizationID;
	}
	public Integer getSearchMonth() {
		return searchMonth;
	}
	public void setSearchMonth(Integer searchMonth) {
		this.searchMonth = searchMonth;
	}
	
	public Integer getSearchOrganizationType() {
		return searchOrganizationType;
	}
	public void setSearchOrganizationType(Integer searchOrganizationType) {
		this.searchOrganizationType = searchOrganizationType;
	}
	public Integer getSerarchNextNum() {
		return serarchNextNum;
	}
	public void setSerarchNextNum(Integer serarchNextNum) {
		this.serarchNextNum = serarchNextNum;
	}
	public Integer getSearchReachConferenceNum() {
		return searchReachConferenceNum;
	}
	public void setSearchReachConferenceNum(Integer searchReachConferenceNum) {
		this.searchReachConferenceNum = searchReachConferenceNum;
	}
	public String getSearchTreePath() {
		return searchTreePath;
	}
	public void setSearchTreePath(String searchTreePath) {
		this.searchTreePath = searchTreePath;
	}
	public Integer getSearchQuarterValidNum() {
		return searchQuarterValidNum;
	}
	public void setSearchQuarterValidNum(Integer searchQuarterValidNum) {
		this.searchQuarterValidNum = searchQuarterValidNum;
	}
	public Integer getSearchMonthValidNum() {
		return searchMonthValidNum;
	}
	public void setSearchMonthValidNum(Integer searchMonthValidNum) {
		this.searchMonthValidNum = searchMonthValidNum;
	}
	public Integer getSearchOrderType() {
		return searchOrderType;
	}
	public void setSearchOrderType(Integer searchOrderType) {
		this.searchOrderType = searchOrderType;
	}
	
	
	
}
